package com.xbsg.protocol.rabbitmq;

/*
import com.xbsg.protocol.XfApplication;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;


@RunWith(SpringRunner.class)
@SpringBootTest(classes = XfApplication.class)
public class ProducerTest {
    //1.注入RabbitTemplate
*/
/*    @Autowired
    private RabbitTemplate rabbitTemplate;*//*


    @Autowired
    private MqttGateway mqttGateway;

*/
/*    @Test
    public void testSend(){

        rabbitTemplate.convertAndSend(RabbitMQConfig.EXCHANGE_NAME,"boot.haha","boot mq hello~~~");
    }*//*


    @Test
    public void testMqttGateway(){
        mqttGateway.sendToMqtt("fire_realData","test mqtt");
    }
}
*/
